package com.wu.mp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2019-07-02
 */
@TableName("t_goods")
public class TGoods implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 商品ID
     */
    private String goodsId;

    /**
     * 商品名字
     */
    private String goodsName;

    /**
     * 商品分类ID
     */
    private String goodsTypeId;

    /**
     * 商品原价格
     */
    private String goodsPrice;

    /**
     * 商品现价格
     */
    private String goodsCost;

    /**
     * 商品描述
     */
    private String goodsDescribe;

    /**
     * 商品主图片
     */
    private String goodsMainImg;

    /**
     * 0正常,1优惠
     */
    private Integer isDiscount;

    /**
     * 0上架,1下架
     */
    private Integer isEnable;

    /**
     * 0正常,1删除
     */
    private Integer isDel;

    /**
     * 创建日期
     */
    private String creatTime;


    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(String goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsCost() {
        return goodsCost;
    }

    public void setGoodsCost(String goodsCost) {
        this.goodsCost = goodsCost;
    }

    public String getGoodsDescribe() {
        return goodsDescribe;
    }

    public void setGoodsDescribe(String goodsDescribe) {
        this.goodsDescribe = goodsDescribe;
    }

    public String getGoodsMainImg() {
        return goodsMainImg;
    }

    public void setGoodsMainImg(String goodsMainImg) {
        this.goodsMainImg = goodsMainImg;
    }

    public Integer getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(Integer isDiscount) {
        this.isDiscount = isDiscount;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "TGoods{" +
        "goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsTypeId=" + goodsTypeId +
        ", goodsPrice=" + goodsPrice +
        ", goodsCost=" + goodsCost +
        ", goodsDescribe=" + goodsDescribe +
        ", goodsMainImg=" + goodsMainImg +
        ", isDiscount=" + isDiscount +
        ", isEnable=" + isEnable +
        ", isDel=" + isDel +
        ", creatTime=" + creatTime +
        "}";
    }
}
